<div class="bjui-pageHeader">
    <form id="pagerForm" data-toggle="ajaxsearch" data-loadingmask="true" action="{:U('Index/save')}" method="post">
        <input type="hidden" name="pageSize" value="{:I('param.pageSize')}" />
        <input type="hidden" name="pageCurrent" value="{:I('param.pageCurrent')}" />
        <input type="hidden" name="orderField" value="{:I('param.orderField')}" />
        <input type="hidden" name="orderDirection" value="{:I('param.orderDirection')}" />
    </form>
</div>
<div class="bjui-pageContent tableContent">
    <table class="table table-bordered table-hover table-striped table-top" data-selected-multi="false">
        <thead>
        <tr>
            <th>商品名称</th>
            <th>规格</th>
            <th>售价</th>
            <th>活动售价</th>
            <th>库存</th>
        </tr>
        </thead>
        <tbody>
        <volist name="list" id="vo">
        <tr>
            <td>{$vo.name}</td>
            <td>{:spec_detail($vo['goods_id'],$vo['spec_array'])}</td>
            <td>{$vo.sell_price}</td>
            <td>{:\\Org\\Oa\\promotion::product_for_promotion(0,$vo['id'],2)}</td>
            <td>{$vo.store_nums}</td>
        </tr>
        </volist>
        </tbody>
    </table>
</div>
<include file="Common/footer" ftype="page" />